Post by simonpieman » Fri Nov 18, 2016 3:37 am

I am needing to run Google Experiments. It necessitates deploying code in the <head> of specific page.
Whilst I could come up with and write the code to do so it would be much better to have an extension to manage this inside Admin for multiple customers - to make it easy.
Experiments is part of Analytics now so is becoming mainstream and critical for many businesses
Has anyone developed a module at all? Anyone keen? Let me know - i can share the requirement.

Go the All Blacks!


Active Member

Posts

Joined
Thu Jul 02, 2015 8:58 am
Location - NZ - Auckland

Post by artcore » Fri Nov 18, 2016 5:44 am

Hi,
If you want to add a javascript to the head, just add it to where you also have the analytics code.
So you would just stack it like:

<script>...analytics...</script>
<script>...something...</script>

and it would all added.
Screenshot_2016-11-17-22-43-30.jpg

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by simonpieman » Fri Nov 18, 2016 6:04 am

The requirement is to deploy on only one specific page - your solution is great yet will deploy on all.
So - it would only want to appear for one specific product.. or one specific category or one specific home page (even by store).
Worth to read the Google Experiment instructions.
Thinking about it I have an idea to test with a simple piece code that I can adapt quickly. But still a module would be very advantageous for non technical customers and save time.

Go the All Blacks!


Active Member

Posts

Joined
Thu Jul 02, 2015 8:58 am
Location - NZ - Auckland
Who is online

Users browsing this forum: No registered users and 4 guests