Go Back   Forum Runner Support > Forum Runner > Forum Runner Chat
Reply
 
Thread Tools Display Modes
  (#1) Old
midlifebachelor
Junior Member
 
Question How to Add In 2 Javascript Calls to ForumRunner? - 04-11-2012, 10:42 AM

Hi - I am brand-new to using ForumRunner ... just installed it last night after upgrading my forum to vBulletin 4.1.12. Have tried out both the free ForumRunner app and also the paid app - and I have to say that this mobile forum support software is outstanding! It exceeds my expectations in terms of the look-and-feel, ease of setup, and the feature set ... well done, ForumRunner!

I do have one question. On the non-mobile version of my forum, I have two vbliterals that reside at the bottom of the "footer" template. Both are javascript calls - one is a call to Quantcast, the other a call to Datonics. [I use Quantcast in addition to Google Analytics to report my site traffic to advertisers. And I use Datonics for some data mining.]

MY QUESTION - how can I get these two javascript calls to run under ForumRunner?

If you are curious what the calls look like in the vBulletin 4.1.12 footer template, here they are (with my account information scrubbed):

Code:
<vb:literal>
<!-- Start Quantcast tag -->
<script type="text/javascript">
_qoptions={
qacct:"<MY QUANTCAST ACCT NUMBER GOES HERE>"
};
</script>
<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
<noscript>
<img src="http://pixel.quantserve.com/pixel/<MY QUANTCAST ACCT NUMBER GOES HERE>.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>
</noscript>
<!-- End Quantcast tag -->
</vb:literal>
<vb:literal>
<!-- Start Datonics -->
<script type="text/javascript" src="http://ads.pro-market.net/ads/scripts/site-<MY DATONICS ACCT NUMBER GOES HERE>.js"></script>
<!-- End Datonics -->
</vb:literal>
   
Reply With Quote
  (#2) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 04-11-2012, 11:31 AM

This will unfortunately not work with Forum Runner. We do not use a "browser" to fetch the data from the server - it is all native iOS/Android widgets and an API between the forum and the app.

There is no "browser" involved to execute javascript.


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#3) Old
midlifebachelor
Junior Member
 
Default 04-11-2012, 11:41 AM

Quote:
Originally Posted by ClemsonJeeper View Post
This will unfortunately not work with Forum Runner. We do not use a "browser" to fetch the data from the server - it is all native iOS/Android widgets and an API between the forum and the app.

There is no "browser" involved to execute javascript.
That is a shame because keeping track of pageviews, unique visitors, visits, keywords, etc. are all pretty important to me ... as it is what I use to attract advertisers to my overall site. What you are telling me is that the mobile slice of my users won't be counted ... and that will definitely be an issue for me moving forward, as the number of mobile users increases over time.

Could we add the ability or capability to do this as a "FEATURE REQUEST"? Seems like it is possible ... because you have added the ability to run the Google Analytics code, right?
   
Reply With Quote
  (#4) Old
ClemsonJeeper
Forum Sprinter
 
ClemsonJeeper's Avatar
 
Default 04-11-2012, 10:01 PM

We support Google Analytics via API - why would this not work for you?


Rob J
Forum Runner Developer

http://www.forumrunner.net
   
Reply With Quote
  (#5) Old
midlifebachelor
Junior Member
 
Default 04-12-2012, 12:48 AM

Quote:
Originally Posted by ClemsonJeeper View Post
We support Google Analytics via API - why would this not work for you?
Your support of Google Analytics DOES WORK for me ... but I also use/need to use those two other javascript calls. So I use three different javascript calls in the non-mobile version of my forum, and would ideally like to also use them in the mobile version via forumrunner:

1) Google Analytics - you support this ... which is great.
2) Quantcast - this is what I'm asking about. I use it to publicly validate my traffic. Anyone can go to www.quantcast.com/midlifebachelor.com and see a snapshot of my Quantcast-validated traffic.
3) Datonics - a data mining tool.

The issue is not Google Analytics - the issue is that I would like to be able to call two other pieces of javascript code ... that is what I'm asking about ... perhaps for a future release of forumrunner. If you read my original post, it is quite clear what I'm asking for and why. Thanks!
   
Reply With Quote
  (#6) Old
sk8rdn
Junior Member
 
Default 04-21-2012, 12:13 AM

What he was suggesting was why not just rely on Google (witch is native to the app) instead of forcing extra code for the other two? More accurate picture as mobile visitors will be counted.

...."Fish" Happens!....
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
vBulletin Skin developed by: vBStyles.com