Has anyone experimented with Snowplow on Instant Articles? Do you merge/enrich your data with data from the Facebook APIs? (there are two specific FB Insights APIs for Instant Articles).
I can’t find any previous discussion of Facebook Instant Articles on Discourse or in our customer support system, so this is new to us too. Look forward to hearing any experiences from the community!
HI @jrpeck1989 - I’ve been talking to a couple of users and apparently you can embed Snowplow tracking in the instant articles, just like it’s your own web page you’re tracking.
Would be great to have users confirm that this works, as we haven’t had the opportunity to validate this ourselves.
You can do standard JS but it runs inside an iframe, so your JS won’t have access to most of the page variables if you’re relying on that. So things like dataLayer won’t be there. They do expose a “defined set of Instant Article data” (though they don’t define it, of course).
We’ve integrated snowplow into IA for a few months now and the process seems rather seamless.
One thing to note: they fake-out the url so that any events appear to have originated at your canonical url rather than an IA url. We added an Instant Article context to differentiate from other events.
No we don’t @jrpeck1989 - would you be able to share something in this thread @sbonami? Would be great to add the context to Iglu Central too - PR welcome!
We ended up grouping Facebook Instant Articles and Google AMP into similar contexts to match the designs of our system, so I don’t think our context would be of any assistance. Sorry!