How to integrate with Shoporama
Follow the steps blow to integrate ProfitMeitrcs with Shoporama
Part 2: Complete integration in ProfitMetircs
Part 3: Install Serverside Hybrid Universal Integration Script
Part 4: Install setEmail Script
Part 1: Create an API key
-
Click "Indstillinger"

-
Click "API"

-
Click "Tilføj adgang"

- Type "ProfitMetrics" and select "Kun læse"

- Click "GEM"

- Copy the Token
.png?width=655&height=366&name=Accessing%20Shoporama%20Webshop%20API%20Key%20-%20Step%202%20(1).png)
Part 2: Complete integration in ProfitMetrics
- Go to https://my.profitmetrics.io/customer/integrations_shoporama_hybrid.php and follow the instructions on the screen
Part 3: Install Serverside Hybrid Universal Integration Script
- Click here to read the instructions for how to generate the code
https://knowledge.profitmetrics.io/how-to-install-the-serverside-hybrid-universal-integration-script -
Click "Indstillinger"

- Click "HTML-felter"

- Click "TILFØJ NYT HTML-FELT"

- Name the field "PM - Script" and click "OK"
.png?width=688&height=385&name=Google%20Chrome%20Workflow%20-%20Step%2010%20(2).png)
- Paste the Script and select "Tilføj automatisk til <head>"

- Click "GEM"

Part 4: Install setEmail script
- Copy this script
<!-- Start ProfitMetrics - setEmail -->
<script>
function _pm_tryemailorderconfirmation() {
if (null != window.profitMetrics && null != window.profitMetrics.setEmail && typeof window.profitMetrics.setEmail === 'function') {
window.profitMetrics.setEmail('<{$order->getEmail()|escape}>');
} else {
setTimeout(_pm_tryemailorderconfirmation, 500);
}
}
_pm_tryemailorderconfirmation();
</script>
<!-- End ProfitMetrics - setEmail --> -
Click "Indstillinger"

-
Click "Tema-editor"

-
Click "/thanks.html"

- Scroll to the bottom and paste the code before the final <{/script}> tag
.png?width=655&height=366&name=Editing%20Order%20Information%20in%20Shoporama%20Admin%20Panel%20-%20Step%208%20(2).png)
- Click "GEM"
.png?width=688&height=385&name=Editing%20Order%20Information%20in%20Shoporama%20Admin%20Panel%20-%20Step%2011%20(1).png)
That's it.