Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
March 5, 2020 at 1:13 am #1190266
Hey there,
I try to set Analytics tracking-ids for every masonry-element. With the addon WP Google Analytics Events I can define a class or ID what Analytics should track. Could you pls tell me how this can be done?
My site: https://manuelkoehler.de
Thanks
ManuMarch 10, 2020 at 5:53 am #1191698Hey Manuel,
Thank you for the inquiry.
The following is the markup of an item in a Masonry element. You might be able to use the value of the id attribute (av-masonry-1-item-153) or one of the class names to target it.
<a href="https://manuelkoehler.de/wp-content/uploads/2020/01/hochzeitsfotograf-coburg-steffi-und-marc-brp02080-1030x687.jpg" id="av-masonry-1-item-153" data-av-masonry-item="153" class="av-masonry-entry isotope-item post-153 attachment type-attachment status-inherit hentry av-masonry-item-with-image lightbox-added av-masonry-item-loaded" title="Hochzeitsfotograf Coburg Steffi und Marc BRP02080" itemprop="thumbnailUrl" style="position: absolute; left: 24.8417%; top: 0px;"> <div class="av-inner-masonry-sizer"></div> <figure class="av-inner-masonry main_color"> <div class="av-masonry-outerimage-container"> <div class="av-masonry-image-container"><img src="https://manuelkoehler.de/wp-content/uploads/2020/01/hochzeitsfotograf-coburg-steffi-und-marc-brp02080-705x470.jpg" title="Hochzeitsfotograf Coburg Steffi und Marc BRP02080" alt="Hochzeitsfotograf für Coburg in der Rosenau" data-lazy-src="https://manuelkoehler.de/wp-content/uploads/2020/01/hochzeitsfotograf-coburg-steffi-und-marc-brp02080-705x470.jpg" class="lazyloaded" data-was-processed="true" data-jpibfi-indexer="4"> <noscript> <img src="https://manuelkoehler.de/wp-content/uploads/2020/01/hochzeitsfotograf-coburg-steffi-und-marc-brp02080-705x470.jpg" title="Hochzeitsfotograf Coburg Steffi und Marc BRP02080" alt="Hochzeitsfotograf für Coburg in der Rosenau" /> </noscript></div> </div></figure> </a>
The image is inside the page hochzeitsbilder-in-der-rosenau-roedental post.
Best regards,
Ismael -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.