Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,11 @@ With the Carcode JavaScript widget toolkit embedded into the page, you’ll be a
| skipPiiForm | Boolean | false | Indicates if carcode widget should not append pii form |
| skipChatBackButton | Boolean | false | Indicates if carcode widget should not append back button in chat view |
| skipSdkButtons | Boolean | false | Indicates if carcode widget should not try to look for sdk buttons on the page |
| skipMobileApp | Boolean | false | Indicates if carcode widget should not try to open sms messenger on mobile phones |
| tracking | Object | {} | Object with params to override or extend gtm or edw events. E.g. { edw: { param1: 'test' }, gtm: { param1: 'test' } } |
| disableGoogleAnalytics | Boolean | false | Indicates if carcode widget should disable all GA tracking |
| disableEdwAnalytics | Boolean | false | Indicates if carcode widget should disable all EDW tracking |
| disableGtmAnalytics | Boolean | false | Indicates if carcode widget should disable all GTM tracking |
| cannedMessagesType | String | 'default' | Indicates the type of canned messages view. Right now we support 'default' or 'bubble' type |
| alwaysOpenForm | Boolean | The value configured in widget settings using carcode admin app | Indicates if carcode widget should always open form even for mobile experience |
| optOutText | String | Don't worry - you can opt-out by texting STOP when you don't want to receive any more texts from us. | Configure the opt out text below the phone input for sms form |
| phoneNumberPolicy | String | 'default' | Specify phone number policy. <br><br>For `'edmunds-only'` policy carcode widget will only try to use edmunds.com phone number. If no edmunds.com number, then widget will not work; <br><br>For `'edmunds-first'` policy carcode widget will firstly try to use edmunds.com number, if it exists then no additional actions. If edmunds.com number doesn't exist, then carcode widget will use sales phone number for chat and sales form, and service for service form;<br><br>For `'default'` policy carcode widget will use sales number for chat and sales form, service number for service form. |
| skipDraggable | Boolean | false | Indicates if carcode widget should not be draggable |
Expand Down
6 changes: 2 additions & 4 deletions examples/sdk-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
appendWidgetTo: 'widgetContainer',
manualControl: true,
skipSdkButtons: true,
skipMobileApp: true,
disableGoogleAnalytics: true,
disableEdwAnalytics: true,
disableGtmAnalytics: true,
alwaysOpenForm: true,
cannedMessagesType: 'bubble',
optOutText: 'Dont\'t worry - you can opt-out by texting STOP',
leadTags: 'helloCustom,helloCustom2',
Expand Down Expand Up @@ -49,7 +47,7 @@
height: 480px;
}
#msrp {
width: 450px;
width: 450px;
}
@media (min-width: var(--breakpoint-sm)) {
#msrp {
Expand Down Expand Up @@ -94,4 +92,4 @@ <h5 class="card-title">$20,625<span class="align-text-bottom">*</span></h5>
</main>
</div>
</body>
</html>
</html>
6 changes: 1 addition & 5 deletions examples/sms-form/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@
skipButton: true,
/* Skip widget menu and open directly SMS form by clicking SDK button */
sdkWidget: 'sms',
/* Do not try to open sms messenger on mobile phones */
skipMobileApp: true,
/* Disable all analytics */
disableGoogleAnalytics: true,
disableEdwAnalytics: true,
disableGtmAnalytics: true,
/* Open form even for mobile experience */
alwaysOpenForm: true,
/* Use 'bubble' canned messages in SMS form */
cannedMessagesType: 'bubble',
/* Use custom text for welcome message in SMS form */
Expand Down Expand Up @@ -104,4 +100,4 @@ <h2>Available Inventory</h2>
</main>
</div>
</body>
</html>
</html>