Tech docs
Integration Docs
Non-Standard Integration

Non-Standard Integration

#How are 'infinite-scroll' pages supported?

For some sites, the model of one Parse.ly tracking pixel per pageload isn't a perfect fit. This can happen if your site includes multi-page posts or galleries and you'd like each page of the post to send a pageview to Parse.ly. This situation also arises for sites that use "infinite scroll" - one webpage that continuously loads new posts as the user scrolls down.

Instead, you can use the Parse.ly JavaScript API to manually send pageload information to Parse.ly. The relevant call is PARSELY.beacon.trackPageView.

You might call this function when the user navigates to the next slide, or when they scroll down and a new article is loaded.

#Is there a way I can track separate pageviews for each image in my image galleries, each article in infinite scroll, or each page in a muti-page article?

Dynamic tracking allowing you to see a traffic breakout for each of these cases! Special integration is required

#How do I integrate Parse.ly on my mobile site?

In general, integration for mobile web is identical to integration for desktop browsers. See the basic integration instructions for details.

#What about native iOS or Android mobile apps?

We have open source iOS and Android toolkits for integrating tracking on these platforms. To enable tracking for these channels, please contact your Account Manager.

#How can I use the Wordpress plugin to integrate with Parse.ly

Integrating Parse.ly with a WordPress site is as simple as installing a plugin.

Wordpress VIP

We are an approved technology partner for Wordpress VIP sites. See our plugin here:  https://wpvip.com/plugins/wp-parsely/

Wordpress.org

Read all about our plugin on wordpress.org:  https://wordpress.org/plugins/wp-parsely/

For the vast majority of WordPress sites it will integrate seamlessly. However, if your site uses a non-standard WordPress template, the Parse.ly plugin may not be able to successfully include the javascript tracker and parsely-page meta tag.  Our plugin relies upon two php function calls:

wp_head() wp_footer()

​If for some reason one or both of these calls is not made, the Parse.ly WordPress plugin won't work out of the box for your site.  If you're in that situation, get in touch with us and we'll help you get your integration running.

Our WordPress plugin is open source and you can check it out on GitHub.

#My site is built with Wordpress. Can I still use dynamic tracking?

You can. Our WordPress plugin doesn’t support dynamic tracking automatically, however; you’ll need to configure it yourself within your JavaScript.

Consult your account rep if you need assistance.

#How can I troubleshoot my Cloudflare integration?

If you’re using CloudFlare RocketLoader to integrate Parse.ly javascript, you can potentially run into an issue with some or all of your site’s javascript being disable.

How does this happen? If there is a problem in your use of RocketLoader, your script tags can end up being served as rocketscript (which is unrecognized by browsers) instead of javascript.  Here's an example of what that looks like in the page source:

parsely_cloudflare_integration

The best explanation of the issue appears on stack overflow here.  CloudFlare makes a mention of the workaround as well in this article.

As always, contact support@parsely.com if you have further questions or issues.

#Can Parse.ly track single-page applications, such as those built with React or AngularJS?

Yes, we can do so when you set up dynamic tracking. Specifically, you’d need to create  an event listener that will fire a pageview pixel when a new article loads that includes the URL of that new article.

The new article’s URL should be reachable when pasted into a web browser, so that our crawler can fetch its metadata once we receive the pageview pixel. The metadata must be rendered server-side and appear directly in your page source, as our crawler can’t execute JavaScript.

#Can Parse.ly track articles protected by a log-in or paywall?

We can; however, it requires some custom configuration on our part. Consult your account rep for more details.

Consult your Account Manager or contact support@parsely.com for more details.

rocket emoji