Upate GA Code to include Remarketing DoubleClick Cookie

Highlighted
New Member
2 0 0

I just added that line in the admin area as well. The stats seem to be coming across fine. But I will know more in a few days. Will post more then.

-Will

0 Likes
Highlighted
Tourist
23 0 1

Based on this tweet, http://twitter.com/ShopifySupport/statuses/275998543683145729, it sounds as though Shopify isn't supporting the new re-marketing code. Has anyone found a work around?

0 Likes
Highlighted
Tourist
23 0 1

Answering my own question here, but hopefully someone will find it useful. We stopped using the Shopify GA code insert field and opted to copy the new remarketing code (pasted below) into the <head></head> of our Shopify template. Everything seems to be working properly so far...

P.J.

 

 

 

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'Your-Google-Tracking-ID-Here']);
  _gaq.push(['_trackPageview']);

  (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>

 

 

 

0 Likes
Highlighted
New Member
3 0 0

Thanks for this post. I followed what you did and it seems to work fine so far.

 

- Altan

0 Likes
Highlighted
New Member
3 0 0

Talked a bit too early. E-commerce tracking went awry after I put the code to the header. So I reinserted the UA code into admin and left the header as it is. E-commerce tracking is back to normal but I'm not sure about the remarketing list. I guess I'll find out when remarketing stops to the existing list.

 

- Altan 

 

0 Likes
Highlighted
Tourist
23 0 1

Yup - my ecommerce tracking stopped working a few days after my 'fix'... cutting the re-marketing stuff for now. Anyone else dealing with this?

 

P.J.

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
5711 0 150

It looks like Shopify doesn't support this right now and will have to add support. I just don't want anyone to waste a bunch of time trying until support is added.

http://shopifyplus.com ::: http://twitter.com/bacchus
0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
333 0 26

We're working on fixing this.  Hopefully this will be changed in the next day or two.

Craig

0 Likes
Highlighted
Tourist
23 0 1

This is fantastic news... thanks Craig!

0 Likes
Highlighted
New Member
3 0 0

Good news. Looking forward to it.

 

 

0 Likes