-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
175 lines (151 loc) · 5.52 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5VXDLSDC');</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sitio de Pruebas</title>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F7W2KH58BW"></script>
<!-- Google tag (gtag.js) -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F7W2KH58BW');
</script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
color: #333;
}
header {
background-color: #2c3e50;
color: #ecf0f1;
padding: 20px;
text-align: center;
}
nav {
background-color: #34495e;
padding: 10px;
text-align: center;
}
nav a {
color: #ecf0f1;
text-decoration: none;
padding: 10px;
margin: 0 15px;
transition: color 0.3s;
}
nav a:hover {
color: #3498db;
}
section {
padding: 30px;
}
footer {
background-color: #2c3e50;
color: #ecf0f1;
padding: 15px;
text-align: center;
position: relative; /* Cambié absolute a relative para evitar conflictos */
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5VXDLSDC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<header>
<h1>Sitio de Pruebas</h1>
<p>Un sitio web para tus pruebas</p>
</header>
<nav>
<a href="seccion1.html">Sección 1</a>
<a href="seccion2.html">Sección 2</a>
<a href="seccion3.html">Sección 3</a>
<a href="contacto.html">Contacto</a>
</nav>
<section id="seccion1">
<h2>Sección 1</h2>
<p>¡Bienvenido a la sección 1! Aquí puedes agregar contenido interesante.</p>
</section>
<section id="seccion2">
<h2>Sección 2</h2>
<p>En la sección 2, puedes explorar temas fascinantes.</p>
</section>
<section id="seccion3">
<h2>Sección 3</h2>
<p>La sección 3 te ofrece información valiosa.</p>
</section>
<footer>
<p>© 2024 Sitio de Pruebas. Todos los derechos reservados.</p>
</footer>
<style type='text/css'>
.embeddedServiceHelpButton .helpButton .uiButton {
background-color: #005290;
font-family: "Arial", sans-serif;
}
.embeddedServiceHelpButton .helpButton .uiButton:focus {
outline: 1px solid #005290;
}
</style>
<script type='text/javascript' src='https://service.force.com/embeddedservice/5.0/esw.min.js'></script>
<script type='text/javascript'>
var initESW = function(gslbBaseURL) {
embedded_svc.settings.displayHelpButton = true; //Or false
embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'
//embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert)
//embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline)
//embedded_svc.settings.loadingText = ''; //(Defaults to Loading)
//embedded_svc.settings.storageDomain = 'yourdomain.com'; //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)
// Settings for Chat
//embedded_svc.settings.directToButtonRouting = function(prechatFormData) {
// Dynamically changes the button ID based on what the visitor enters in the pre-chat form.
// Returns a valid button ID.
//};
//embedded_svc.settings.prepopulatedPrechatFields = {}; //Sets the auto-population of pre-chat form fields
//embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId
//embedded_svc.settings.offlineSupportMinimizedText = '...'; //(Defaults to Contact Us)
embedded_svc.settings.enabledFeatures = ['LiveAgent'];
embedded_svc.settings.entryFeature = 'LiveAgent';
embedded_svc.init(
'https://clouii2-dev-ed.my.salesforce.com',
'https://clouii2-dev-ed.my.site.com/vforcesite',
gslbBaseURL,
'00D4x000005TzfK',
'Chat_with_Agent',
{
baseLiveAgentContentURL: 'https://c.la3-c1-ia4.salesforceliveagent.com/content',
deploymentId: '5724x000000Dhlq',
buttonId: '5734x000000Di8A',
baseLiveAgentURL: 'https://d.la3-c1-ia4.salesforceliveagent.com/chat',
eswLiveAgentDevName: 'Chat_with_Agent',
isOfflineSupportEnabled: false
}
);
};
if (!window.embedded_svc) {
var s = document.createElement('script');
s.setAttribute('src', 'https://clouii2-dev-ed.my.salesforce.com/embeddedservice/5.0/esw.min.js');
s.onload = function() {
initESW(null);
};
document.body.appendChild(s);
} else {
initESW('https://service.force.com');
}
</script>
</body>
</html>