SlideShare a Scribd company logo
1 of 7
Download to read offline
Sub ID Implementation
To access your API Credentials, begin
by selecting Account Settings in the
drop down menu on your dashboard.
Under Account Settings you
will find your API Credentials.
*Note: Contact your account
representative to get API access
Adding Sub ID to a Standard Widget
<div id="rcjsload_123ABC"></div>
<script type="text/javascript">
(function() {
var referer="";try{if(referer=document.referrer,"undefined"==typeof referer)throw"undefined"}catch(exception)
{referer=document.location.href,(""==referer||"undefined"==typeof referer)&&(referer=document.URL)}
referer=referer.substr(0,700);
var rcel = document.createElement("script");
rcel.id = 'rc_' + Math.floor(Math.random() * 1000);
rcel.type = 'text/javascript';
rcel.src = "http://trends.revcontent.com/serve.js.php?revsub[KEY]=VALUE&w=1234&t="+rcel.id+"&c="+(new
Date()).getTime()+"&width="+(window.outerWidth || document.documentElement.clientWidth)+"&referer="+referer;
rcel.async = true;
var rcds = document.getElementById("rcjsload_123ABC"); rcds.appendChild(rcel);
})();
</script>
In your standard widget code, directly before “&w=”, add the following
code: revsub[KEY]=VALUE and enter your key and value.
Adding Sub ID to an API Widget
https://trends.revcontent.com/api/v1/?revsub[KEY]
=VALUE&api_key=3eeb00d786e9a77bbd630595ae0be7e9aa7aff3b&pub_id=ABC&widget_id=1234&domain=exampl
e.com&sponsored_count=5&sponsored_offset=0
Directly before “&api_key=” add the following code: revsub[KEY]=VALUE and
enter your key and value.
Sub ID Implementation Best Practices
● The sub id values should be URL-encoded into valid ASCII format, to ensure you do not
break the URL.
● You can add multiple values to the revsub array
ex. "revsub[KEY1]=VALUE1&revsub[KEY2]=VALUE2"
● Because of URL length limitations in Internet Explorer 8 and less, strive to keep your revsub
array as short as possible.
Have questions? We’ve got answers.
Contact your rep or support@revcontent.com

More Related Content

Viewers also liked (17)

Tiempos continuos david vegas
Tiempos continuos david vegasTiempos continuos david vegas
Tiempos continuos david vegas
 
Printed-Catalog
Printed-CatalogPrinted-Catalog
Printed-Catalog
 
Tics wilfredo alastre
Tics wilfredo alastreTics wilfredo alastre
Tics wilfredo alastre
 
AAA_presentation
AAA_presentationAAA_presentation
AAA_presentation
 
Making Mechanics Modern Mary Somerville (Carlyle & Wallace)
Making Mechanics Modern Mary Somerville (Carlyle & Wallace)Making Mechanics Modern Mary Somerville (Carlyle & Wallace)
Making Mechanics Modern Mary Somerville (Carlyle & Wallace)
 
Media Evaluation
Media EvaluationMedia Evaluation
Media Evaluation
 
Soteria Cybersecurity Healthcheck-FB01
Soteria Cybersecurity Healthcheck-FB01Soteria Cybersecurity Healthcheck-FB01
Soteria Cybersecurity Healthcheck-FB01
 
Calça se calçasse
Calça se calçasseCalça se calçasse
Calça se calçasse
 
CV EN
CV ENCV EN
CV EN
 
HS Labelers _ Downtime Results
HS Labelers _ Downtime ResultsHS Labelers _ Downtime Results
HS Labelers _ Downtime Results
 
img937
img937img937
img937
 
Research Paper - Naushad Moti
Research Paper - Naushad MotiResearch Paper - Naushad Moti
Research Paper - Naushad Moti
 
青年TuPa月報-四月號
青年TuPa月報-四月號青年TuPa月報-四月號
青年TuPa月報-四月號
 
fundamentos de la moral
fundamentos de la moralfundamentos de la moral
fundamentos de la moral
 
Metrology_Brochure_2015
Metrology_Brochure_2015Metrology_Brochure_2015
Metrology_Brochure_2015
 
Nanotech in civil
Nanotech in civilNanotech in civil
Nanotech in civil
 
Casnewb
CasnewbCasnewb
Casnewb
 

Similar to Sub ID Implementation

JSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content RepositoriesJSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content Repositories
Joel Amoussou
 
How Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their CloudHow Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their Cloud
Torin Sandall
 

Similar to Sub ID Implementation (20)

Code Igniter 2
Code Igniter 2Code Igniter 2
Code Igniter 2
 
Codegnitorppt
CodegnitorpptCodegnitorppt
Codegnitorppt
 
The use case of a scalable architecture
The use case of a scalable architectureThe use case of a scalable architecture
The use case of a scalable architecture
 
Yii Introduction
Yii IntroductionYii Introduction
Yii Introduction
 
Smart Services & Smart Clients - How Microservices Change the Way You Build a...
Smart Services & Smart Clients - How Microservices Change the Way You Build a...Smart Services & Smart Clients - How Microservices Change the Way You Build a...
Smart Services & Smart Clients - How Microservices Change the Way You Build a...
 
Web internship Yii Framework
Web internship  Yii FrameworkWeb internship  Yii Framework
Web internship Yii Framework
 
Groovy in SOAP UI
Groovy in SOAP UIGroovy in SOAP UI
Groovy in SOAP UI
 
Staying railsy - while scaling complexity or Ruby on Rails in Enterprise Soft...
Staying railsy - while scaling complexity or Ruby on Rails in Enterprise Soft...Staying railsy - while scaling complexity or Ruby on Rails in Enterprise Soft...
Staying railsy - while scaling complexity or Ruby on Rails in Enterprise Soft...
 
Top 10 Web Security Vulnerabilities
Top 10 Web Security VulnerabilitiesTop 10 Web Security Vulnerabilities
Top 10 Web Security Vulnerabilities
 
JSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content RepositoriesJSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content Repositories
 
Integrating Jira Software Cloud With the AWS Code Suite
Integrating Jira Software Cloud With the AWS Code SuiteIntegrating Jira Software Cloud With the AWS Code Suite
Integrating Jira Software Cloud With the AWS Code Suite
 
How to convert custom plsql to web services-Soap OR Rest
How to convert custom plsql to web services-Soap OR RestHow to convert custom plsql to web services-Soap OR Rest
How to convert custom plsql to web services-Soap OR Rest
 
WCLA12 JavaScript
WCLA12 JavaScriptWCLA12 JavaScript
WCLA12 JavaScript
 
The battle of Protractor and Cypress - RunIT Conference 2019
The battle of Protractor and Cypress - RunIT Conference 2019The battle of Protractor and Cypress - RunIT Conference 2019
The battle of Protractor and Cypress - RunIT Conference 2019
 
Dependency injection - the right way
Dependency injection - the right wayDependency injection - the right way
Dependency injection - the right way
 
Community call: Develop multi tenant apps with the Microsoft identity platform
Community call: Develop multi tenant apps with the Microsoft identity platformCommunity call: Develop multi tenant apps with the Microsoft identity platform
Community call: Develop multi tenant apps with the Microsoft identity platform
 
How Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their CloudHow Netflix Is Solving Authorization Across Their Cloud
How Netflix Is Solving Authorization Across Their Cloud
 
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
A Peek At The Future: Going Beyond JavaServer Faces 2.0 With RichFaces 4
 
How We Brought Advanced HTML5 Viewing to ADF
How We Brought Advanced HTML5 Viewing to ADFHow We Brought Advanced HTML5 Viewing to ADF
How We Brought Advanced HTML5 Viewing to ADF
 
Building an End-to-End AngularJS Application
Building an End-to-End AngularJS ApplicationBuilding an End-to-End AngularJS Application
Building an End-to-End AngularJS Application
 

More from Revcontent

More from Revcontent (18)

Revcontent Sub ID implementation
Revcontent Sub ID implementationRevcontent Sub ID implementation
Revcontent Sub ID implementation
 
Archiving a Boost
Archiving a BoostArchiving a Boost
Archiving a Boost
 
Campaign Boost Targeting Options
Campaign Boost Targeting OptionsCampaign Boost Targeting Options
Campaign Boost Targeting Options
 
How to Create a Revcontent Boost
How to Create a Revcontent BoostHow to Create a Revcontent Boost
How to Create a Revcontent Boost
 
Audience Targeting for Advertisers and Publishers
Audience Targeting for Advertisers and PublishersAudience Targeting for Advertisers and Publishers
Audience Targeting for Advertisers and Publishers
 
Creating a Brand, Topic, or Interest Boost
Creating a Brand, Topic, or Interest BoostCreating a Brand, Topic, or Interest Boost
Creating a Brand, Topic, or Interest Boost
 
Adding Content to an Existing Boost
Adding Content to an Existing BoostAdding Content to an Existing Boost
Adding Content to an Existing Boost
 
Language Targeting for Advetisers
Language Targeting for AdvetisersLanguage Targeting for Advetisers
Language Targeting for Advetisers
 
How to Create a Boost - Revcontent
How to Create a Boost - RevcontentHow to Create a Boost - Revcontent
How to Create a Boost - Revcontent
 
Revcontent Device and Mobile Operating System Targeting
Revcontent Device and Mobile Operating System TargetingRevcontent Device and Mobile Operating System Targeting
Revcontent Device and Mobile Operating System Targeting
 
Revcontent's Widget Optimizer
Revcontent's Widget OptimizerRevcontent's Widget Optimizer
Revcontent's Widget Optimizer
 
How to Add Restrictions to Your Widget
How to Add Restrictions to Your WidgetHow to Add Restrictions to Your Widget
How to Add Restrictions to Your Widget
 
Revcontent Culture Guide
Revcontent Culture GuideRevcontent Culture Guide
Revcontent Culture Guide
 
Publisher Performance Graph
Publisher Performance GraphPublisher Performance Graph
Publisher Performance Graph
 
Advertiser Performance Graph
Advertiser Performance GraphAdvertiser Performance Graph
Advertiser Performance Graph
 
Internal Content Auto Discovery
Internal Content Auto DiscoveryInternal Content Auto Discovery
Internal Content Auto Discovery
 
How to pull widget code from your account
How to pull widget code from your accountHow to pull widget code from your account
How to pull widget code from your account
 
How to build a widget
How to build a widgetHow to build a widget
How to build a widget
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Sub ID Implementation

  • 2. To access your API Credentials, begin by selecting Account Settings in the drop down menu on your dashboard.
  • 3. Under Account Settings you will find your API Credentials. *Note: Contact your account representative to get API access
  • 4. Adding Sub ID to a Standard Widget <div id="rcjsload_123ABC"></div> <script type="text/javascript"> (function() { var referer="";try{if(referer=document.referrer,"undefined"==typeof referer)throw"undefined"}catch(exception) {referer=document.location.href,(""==referer||"undefined"==typeof referer)&&(referer=document.URL)} referer=referer.substr(0,700); var rcel = document.createElement("script"); rcel.id = 'rc_' + Math.floor(Math.random() * 1000); rcel.type = 'text/javascript'; rcel.src = "http://trends.revcontent.com/serve.js.php?revsub[KEY]=VALUE&w=1234&t="+rcel.id+"&c="+(new Date()).getTime()+"&width="+(window.outerWidth || document.documentElement.clientWidth)+"&referer="+referer; rcel.async = true; var rcds = document.getElementById("rcjsload_123ABC"); rcds.appendChild(rcel); })(); </script> In your standard widget code, directly before “&w=”, add the following code: revsub[KEY]=VALUE and enter your key and value.
  • 5. Adding Sub ID to an API Widget https://trends.revcontent.com/api/v1/?revsub[KEY] =VALUE&api_key=3eeb00d786e9a77bbd630595ae0be7e9aa7aff3b&pub_id=ABC&widget_id=1234&domain=exampl e.com&sponsored_count=5&sponsored_offset=0 Directly before “&api_key=” add the following code: revsub[KEY]=VALUE and enter your key and value.
  • 6. Sub ID Implementation Best Practices ● The sub id values should be URL-encoded into valid ASCII format, to ensure you do not break the URL. ● You can add multiple values to the revsub array ex. "revsub[KEY1]=VALUE1&revsub[KEY2]=VALUE2" ● Because of URL length limitations in Internet Explorer 8 and less, strive to keep your revsub array as short as possible.
  • 7. Have questions? We’ve got answers. Contact your rep or support@revcontent.com