var CoreView = require('backbone/core-view');
var template = require('./embed-banner.tpl');

const SIGN_UP_URL = 'https://carto.com/signup';
const REMOVE_BANNER_URL = 'https://carto.com/help/building-maps/remove-banner-from-map/';

var EmbedBannerView = CoreView.extend({

  className: 'CDB-Embed-banner--inner',

  events: {
    'click .js-close': '_close'
  },

  initialize: function () {
    this.template = template;

    this._ownerData = window.ownerData;
    this._viz = window.vizJSON;
  },

  render: function () {
    this.$el.html(this.template({
      startNowUrl: this._getStartNowUrl(),
      removeBannerUrl: REMOVE_BANNER_URL
    }));
    return this;
  },

  _getEmbedUrl: function () {
    return this._ownerData.base_url + '/builder/' + this._viz.id + '/embed';
  },

  _getStartNowUrl: function () {
    return SIGN_UP_URL +
    '?utm_source=' + this._getEmbedUrl() +
    '&utm_medium=referral' +
    '&utm_campaing=Free_Public_Map_Banner';
  },

  _close: function () {
    this.hide();
  }
});

module.exports = EmbedBannerView;

@@ -418,81 +418,8 @@
 ate;
-%0A%0A    this._ownerData = window.ownerData;%0A    this._viz = window.vizJSON;
 %0A  %7D
@@ -599,121 +599,8 @@
 %7D,%0A%0A
-  _getEmbedUrl: function () %7B%0A    return this._ownerData.base_url + '/builder/' + this._viz.id + '/embed';%0A  %7D,%0A%0A
   _g
@@ -674,31 +674,14 @@
 rce=
-' + this._getEmbedUrl()
+embed'
  +%0A 

Change utm_source parameter