2014-05-09 10:40:33 +02:00
|
|
|
[{strip}]
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')}]
|
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampNameKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignName', '[{$oD3GASettings->getValue('sD3GASetCampNameKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampMediumKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignMedium', '[{$oD3GASettings->getValue('sD3GASetCampMediumKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampSourceKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignSource', '[{$oD3GASettings->getValue('sD3GASetCampSourceKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampTermKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignKeyword', '[{$oD3GASettings->getValue('sD3GASetCampTermKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampContentKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignContent', '[{$oD3GASettings->getValue('sD3GASetCampContentKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
|
2014-10-13 13:38:48 +02:00
|
|
|
[{if false == $oD3GASettings->getValue('blD3GASetAdWordsCampaignTrack')
|
|
|
|
&& $oD3GASettings->getValue('sD3GASetCampIdKey')}]
|
2014-05-09 10:40:33 +02:00
|
|
|
ga('set', 'campaignId', '[{$oD3GASettings->getValue('sD3GASetCampIdKey')}]');
|
|
|
|
[{/if}]
|
|
|
|
[{else}]
|
|
|
|
ga('set', 'campaignTrack', false);
|
|
|
|
[{/if}]
|
|
|
|
[{/strip}]
|