0
Welcome Guest! Login
0 items Join Now

Google Analytics Remarketing, Demographics

    • chrisrth's Avatar
    • chrisrth
    • Jr. Rocketeer
    • Posts: 41
    • Thanks: 1

    Google Analytics Remarketing, Demographics

    Posted 11 years 2 months ago
    • Google Analytics has the ability to do Remarketing, Demographics and Interests reporting, but in order to do so, a line in the analytics code must be replaced. Would it be possible to have an option for this? I manually modified the wp-content/plugins/gantry/gizmos/analytics.php file as a work around. The code differences are shown below.

      To implement Remarketing, Demographics and Interests reporting, or GDN Impression Reporting, replace the bold text in this example:
      <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push();
      _gaq.push();
      (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
      </script>

      with the bold text in the example below:
      <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push();
      _gaq.push();
      (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

      ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
      </script>
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: Google Analytics Remarketing, Demographics

    Posted 11 years 2 months ago

Time to create page: 0.062 seconds