How can I use tag managment to implement a web service call that requires a digital certificate?

I have built a web service that makes product recommendations for website visitors. I want to facilitate implementation by creating an install procedure using tag management software such as Tealium or the Google tool.  How can I make this happen when a digital certificate is used for security? See
Mark KleinAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
a digital certificate is used for security

Do you mean that the web service will use an SSL Certificate?

Mark KleinAuthor Commented:
x.509 public/private key encryption is what I'm using for my web service
Dan McFaddenSystems EngineerCommented:
So, I am not exactly following what you are trying to accomplish.

I see 3 distinct parts to your question:

1. a custom web service that you have built
2. you wish to manage the tags (attached to the product recommendations I'll guess) using a 3rd party tool
3. a security component

You wish to build an installation procedure for what?
- deploying the web service is a simple task
- managing the tags in the content served by the web service, is what Tealium does, that is a separate product which integrates into some custom javascript included in your served up content
- what is it that the X.509 certificate is used for?  Do you wish to provide the web service content over HTTPS?

Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Mark KleinAuthor Commented:
OK, I think I understand the confusion I've generated.
--I have a working web service
--it uses x.509 digital certificates for security
--Prospective customers (our client companies) can't get IT cycles to install the few lines of code into their browsers in order to call the services. They would rather use a tag management platform, something they control, to install the web service calls as tags
--the web services make back end calls to a SQL Server database

My question: how do I set up installation so it can be handled by a tag platform such as Tealium or Google's?
Dan McFaddenSystems EngineerCommented:
After having looked at the Google Tag Manager docs, the tag management works like so:

you place a code snippet, immediately after the <body> tag, inside the html to be displayed.  The snippet inserts a JavaScript file reference (gtm.js) which is what drives the Tag Manager functionality.

reference link:

How this is can be integrated into a web service call depends on what the web service does.  Is it serving up formatted content?  (HTML, XML, JSON, plain text, etc.)?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mark KleinAuthor Commented:
I'm serving up JSON.  I'm investigating.  Will get back to you.  Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.