Select Page

Google Analytic Experiments

We are currently running some experiments to see which headings and buttons create more conversions.

These are setup in Google Analytics: imagineSubs->content->experiments.

We are currently passing in ‘header’ and ‘button’ text values with the URL which is extracted in the code and applied to the template.

The code that handles this is located here:

ImagineSubs/src/Imagine/SubsBundle/Controller/DefaultController.php

 public function showAction($code)  Line 96

The Google Analytic tracking code is located here:

ImagineSubs/src/Imagine/SubsBundle/Resources/views/Magazine/show.html.twig