E
E
EvgeniySaschenko2020-02-20 22:16:01
JavaScript
EvgeniySaschenko, 2020-02-20 22:16:01

How to track clicks on an Instagram widget (inside an iframe)?

Good afternoon,
I use a widget of such a plan 5e4edad762d3f839113791.pngto track clicks on various elements - for example, starting a video / going to Instagram. But the widget itself is displayed in an iframe, which makes it impossible to install handlers. Please tell me what are the options?

I am using a script like this: platform.instagram.com/en_US/embeds.js

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Talalaev, 2020-02-21
@EvgeniySaschenko

With iFrem, nothing good will come of it, you can bypass and come up with methods of varying degrees of quality and crutchness (not bypassing the restriction, but methods to find out roughly what the user wanted to do).
In short, a bad story.
It is better then to quickly assemble your solution through api , there are simple methods (but only reading / receiving data) and after implementation you will get your own widget, which can be analyzed as you like with high accuracy.

M
Maria, 2020-02-22
@ZhemmehZ

look at Frisbuy widget - it sends events to analytics (at least clicks, views, clicks on links) Miestilo
example - stories widget and Instashopping screen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question