We are trying to use the AdWords conversion tracking through Google Tag Manager, but we can't get the tracking status to change to verified. Probably the events aren't firing properly..
Has anyone got it to work?
Here is our process:
- Create the Adwords campaign.
- Create a iOS conversion tag in tag manager.
- Integrate the Tag Manager.
This is the integration code:
// used for the container preview
NSURL *launchURL = launchOptions[UIApplicationLaunchOptionsURLKey];
[TAGManager.instance previewWithUrl:launchURL];
#if DEBUG
[[TAGManager instance].logger setLogLevel:kTAGLoggerLogLevelVerbose];
#endif
// https://developers.google.com/tag-manager/ios/v3/
[TAGContainerOpener openContainerWithId:@"GTM-TAAAAG"
tagManager:[TAGManager instance]
openType:kTAGOpenTypePreferNonDefault
timeout:nil
notifier:self];
#pragma mark - TAGContainerOpenerNotifier
- (void)containerAvailable:(TAGContainer *)container
{
TAGDataLayer *dataLayer = [TAGManager instance].dataLayer;
[dataLayer pushValue:@"appLaunch" forKey:@"event"];
}
Additional info:
