Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from tellytart/patch-1
Browse files Browse the repository at this point in the history
Fix syntax to retrieve tracking_domain
  • Loading branch information
DanielMuller committed Mar 30, 2016
2 parents d650a00 + 47d8e95 commit e38764b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.php
Expand Up @@ -17,7 +17,7 @@ function render()
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{$this->data->tracking_id}', '{$this->data->tracking->domain}');
ga('create', '{$this->data->tracking_id}', '{$this->data->tracking_domain}');
ga('send', 'pageview');
</script>
Expand Down

0 comments on commit e38764b

Please sign in to comment.